#ifndef TYPEDEF_H
#define TYPEDEF_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

typedef unsigned char      uint8;
typedef unsigned short     uint16;
typedef unsigned int       uint32;
typedef signed char        int8;
typedef signed short       int16;
typedef signed int         int32;
typedef float              FLOAT;
typedef double             DOUBLE;
typedef unsigned int       BOOL;

#ifndef FALSE
#define FALSE              0U
#endif

#ifndef TRUE
#define TRUE               1U
#endif

#ifndef NULL
#define NULL               ((void *)0)
#endif

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* TYPEDEF_H */
